package com.lakeworks.event;

import com.lakeworks.common.enums.RobotType;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 准备核查事件
 */
@Getter
public class CheckEvent extends ApplicationEvent {

    private String expressNo;

    public CheckEvent(Object source, String expressNo) {
        super(source);
        this.expressNo = expressNo;
    }

    public RobotType getRobotType() {
        return RobotType.AUTO_PICKUP_SIGNFOR;
    }

    public void setExpressNo(String expressNo) {
        this.expressNo = expressNo;
    }
}
